package com.ruoyi.bizsys.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖励活动对象 award_activity
 *
 * @author african-loan
 * @date 2022-06-24
 */

@Data
public class AwardActivity extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 活动名称
     */

    @Excel(name = "活动名称")

    private String actName;


    /**
     * 活动类型，字典枚举：award_act_type
     */

    @Excel(name = "活动类型，字典枚举：award_act_type")

    private String actType;

    /**
     * 活动参与条件,字典枚举: award_act_condiction
     */
    @Excel(name = "活动参与条件,字典枚举: award_act_condiction")
    private String actCondition;


    /**
     * 分销比例id
     */

    @Excel(name = "分销比例id")

    private Integer distributionRatioId;


    /**
     * 开始时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date startTime;


    /**
     * 结束时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date endTime;


    /**
     * 状态 0停用 1启用
     */

    @Excel(name = "状态 0停用 1启用")

    private String state;


    /**
     * 备注
     */

    @Excel(name = "备注")

    private String remark;


    /**
     * 创建者
     */

    @Excel(name = "备注")

    private String createBy;


    /**
     * 创建时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date createTime;


    /**
     * 更新者
     */

    @Excel(name = "备注")

    private String updateBy;


    /**
     * 更新时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date updateTime;

}